package com.pan.admin.module.api.entity.qo;

import com.pan.admin.common.annotation.Excel;
import com.pan.admin.common.core.domain.BaseEntity;


/**
 * keys对象 api_keys
 *
 * @author ts
 * @date 2023-10-26
 */
public class ApiKeyQO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Integer id;

    /**
     * api名称
     */
    @Excel(name = "api名称")
    private String apiName;

    /**
     * api客户端id
     */
    @Excel(name = "api客户端id")
    private String apiClientId;

    /**
     * api密钥
     */
    @Excel(name = "api密钥")
    private String apiSecretKey;

    /**
     * 接口路径
     */
    @Excel(name = "接口路径")
    private String apiPath;

    /**
     * 0测试环境 1正式环境
     */
    @Excel(name = "0测试环境 1正式环境")
    private Long apiEnvType;

    /**
     * 发送方白名单IP
     */
    @Excel(name = "发送方白名单IP ")
    private String apiWhiteIps;

    /**
     * 关联api渠道id
     */
    @Excel(name = "关联api渠道id")
    private Long loanChannelId;

    /**
     * 状态(0禁用，1启用)
     */
    @Excel(name = "状态(0禁用，1启用)")
    private Long status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getApiName() {
        return apiName;
    }

    public void setApiName(String apiName) {
        this.apiName = apiName;
    }

    public String getApiClientId() {
        return apiClientId;
    }

    public void setApiClientId(String apiClientId) {
        this.apiClientId = apiClientId;
    }

    public String getApiSecretKey() {
        return apiSecretKey;
    }

    public void setApiSecretKey(String apiSecretKey) {
        this.apiSecretKey = apiSecretKey;
    }

    public String getApiPath() {
        return apiPath;
    }

    public void setApiPath(String apiPath) {
        this.apiPath = apiPath;
    }

    public Long getApiEnvType() {
        return apiEnvType;
    }

    public void setApiEnvType(Long apiEnvType) {
        this.apiEnvType = apiEnvType;
    }

    public String getApiWhiteIps() {
        return apiWhiteIps;
    }

    public void setApiWhiteIps(String apiWhiteIps) {
        this.apiWhiteIps = apiWhiteIps;
    }

    public Long getLoanChannelId() {
        return loanChannelId;
    }

    public void setLoanChannelId(Long loanChannelId) {
        this.loanChannelId = loanChannelId;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }
}
